package com.demo.common.email.config;

import com.demo.common.email.service.EmailSendMsgHandle;
import com.demo.common.email.service.ISendMsgHandle;

import java.lang.annotation.*;

/**
 * 启动email服务注解
 *
 * @author DayDayUp
 * create on 2023-08-25
 **/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface EnableFxwEmailServer {

    /**
     * 邮件服务商（策略）
     */
    Class<? extends ISendMsgHandle> emailHandle() default EmailSendMsgHandle.class;
}
